package homework;

import org.junit.Test;

public class InitArray {
   @Test
    public void test(){
        int [][]array=new int[3][];
        array[0]=new int[2];
        array[1]=new int[3];
        array[2]=new int[4];
  for(int rows=0;rows<array.length;rows++){
      for(int cols=0;cols<array[rows].length;cols++){
          array[rows][cols]=rows*cols;
          System.out.println(rows * cols+"\t");

      }
      System.out.println();
  }
   }

}
